/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package example.players;

import java.util.Random;

import roshambo.Player;

/**
 *
 * @author ilima
 */
public class IvanCicle implements Player {

    private int cont = 0;
    
    @Override
    public int play() {
        cont++;
        return cont%3+1;
    }

    @Override
    public void receive(int result) {
    }

    @Override
    public void newGame(int games) {
        cont = 0;
    }
    
}
